package ai.people.netmon.youtube.probe.mapper;

import ai.people.netmon.framework.domain.youtube.probe.entity.YoutubeAccount;
import ai.people.netmon.framework.domain.youtube.probe.request.YoutubeAccountRequest;
import ai.people.netmon.framework.domain.youtube.probe.vo.YoutubeAccountVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * youtube用户服务映射器
 *
 * @author yuanqinglong
 * @date 2022/2/25 16:43
 */
@Mapper
public interface YoutubeAccountServiceMapper extends BaseMapper<YoutubeAccount> {


    /**
     * youtube帐户列表页面
     *
     * @param page               页面
     * @param youtubeUserRequest youtube用户请求
     * @return {@link IPage}<{@link YoutubeAccount}>
     */
    IPage<YoutubeAccount> listYoutubeAccountPage(Page<YoutubeAccount> page, @Param("request") YoutubeAccountRequest youtubeUserRequest);


}
